 
<div class="main">
    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
        <div class="panel panel-default">	
            <div class="panel-heading">	
               小程序显示联系信息		
            </div>	
            <div class="panel-body">
               
                <div id="isduocity_bd">

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">公司名称</label>
                        <div class="col-sm-9 col-xs-12">
                            <input type="text" name="pay[shopname]" class="form-control" value="{$settings['shopname']}" />
                        </div>
                    </div>	
               
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">封面图</label>
                        <div class="col-sm-9 col-xs-12">
                            {php echo tpl_form_field_image('pay[banner]', $settings['banner'])}	
                        </div>	
                    </div>	
                    
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">联系电话</label>
                        <div class="col-sm-4 col-xs-4">	
                            <input type="text" name="pay[phone]" class="form-control" value="{$settings['phone']}" />
                        </div>
                        <div class="col-sm-4 col-xs-4">	
                            <input type="checkbox" name="pay[isallphone]" {if $settings['isallphone']==1}checked{/if} value="1" />开启所有电话统一此号码
                        </div>
                    </div>		
                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">所在地址</label>
                        <div class="col-sm-9 col-xs-12">
                            <input type="text" name="pay[address]" class="form-control" value="{$settings['address']}" />
                        </div>
                    </div>	
                     <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">联系信息</label>
                        <div class="col-sm-2 col-xs-12">
                            <input type="text" name="pay[com_tel]" class="form-control" value="{$settings['com_tel']}" placeholder="请填写办公电话"/>
                        </div>
                        <div class="col-sm-2 col-xs-12">
                            <input type="text" name="pay[com_qq]" class="form-control" value="{$settings['com_qq']}" placeholder="请填写办公QQ" />
                        </div>
                        <div class="col-sm-2 col-xs-12">
                            <input type="text" name="pay[com_email]" class="form-control" value="{$settings['com_email']}" placeholder="请填写办邮箱" />
                        </div>
                    </div>	
                      <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">底部文字</label>
                        <div class="col-sm-9 col-xs-12">	
                            <input  name="pay[linkmark]"  class="form-control" value="{$settings['linkmark']}" placeholder="" />
                            <p> 例如：拼搏·开放·努力  </p>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">加入我们</label>
                        <div class="col-sm-9 col-xs-12">	
                            <textarea  name="pay[joinus]" id="joinus" class="form-control">{$settings['joinus']}</textarea>
                            <p> 发布招聘加入我们</p>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">公司介绍</label>
                        <div class="col-sm-9 col-xs-12">	
                            <textarea  name="pay[companydescript]" id="companydescript" class="form-control">{$settings['companydescript']}</textarea>
                            <p>  公司业务功能描述</p>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-12 col-sm-3 col-md-2 control-label">隐私条款</label>
                        <div class="col-sm-9 col-xs-12">	
                            <div style="width:650px;">
                            <textarea  name="pay[privacy]" id="privacy" class="form-control">{$settings['privacy']}</textarea>
                        </div>
                        </div>
                    </div>
                
	            </div>
            </div><!-- <div id="isduocity_bd">-->	
	    </div>
        
        <div class="form-group col-sm-12 textalign">	
            <input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />	
            <input type="hidden" name="token" value="{$_W['token']}" />	
        </div>
    </form>
</div>

<script language='javascript'>
    require(['jquery', 'util'], function($, u){	
        $(function(){	
            u.editor($('#privacy')[0]); 
            u.editor($('#companydescript')[0]); 
            u.editor($('#joinus')[0]); 
        });	
    });
 </script>